[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
DTRON
Function
Turn on the serial port DTR signal.
Syntax
DTRON No arguments are required
Remarks
This statement turns on the serial port DTR signal. This statement
should be used after you've used the DTROFF statement to hangup the
modem when you need to hangup on a caller but don't want PCBoard to
perform it's logoff processing. Note that DTR should remain off for a
period of time, to ensure that the modem has time to react to it, before
turning it back on. Consider 1/2 second (about 9 clock ticks) a
reasonable delay.
Examples
BOOLEAN flag
KBDCHKOFF
CDCHKOFF
DTROFF
DELAY 18
DTRON
SENDMODEM "ATDT5551212" ' Please don't really dial this number!
WAITFOR "CONNECT",flag,60
IF (!flag) SPRINLN "No connect found in 60 seconds"
CDCHKON
KBDCHKON
See Also:
DTROFF
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson